package com.tl.libmanager;

import android.app.Activity;
import android.app.Application;
import android.content.Context;

import java.util.Map;

/**
 * Created by Administrator on 2017/8/10 0010.
 */

public interface StatisticEntrance {
    void init(Application application);

    /**
     * 获取地理位置
     * @param activity
     */
    void requestLocation(Activity activity);

    /**
     * 初始化设备信息
     * @param context
     */
    void initDeviceInfo(Context context);

    void setUserId(long userId);

    String getLongitude();

    String getLatitude();

    void onResume(Activity activity);

    void onPause(Activity activity);

    void onStart(Activity activity);

    void onStop(Activity activity);

}
